from rest_framework.mixins import ListModelMixin
from rest_framework.viewsets import GenericViewSet

from . import models
from . import serializer


class RechargeAPIView(ListModelMixin, GenericViewSet):
    """会员充值接口"""
    queryset = models.Member.objects.all()
    serializer_class = serializer.MemberModelSerializer

